package component
{
	import component.data.ComponentInfo;
	
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	import flash.events.TimerEvent;
	import flash.utils.Timer;
	
	public class CmpWraper extends Sprite
	{
		private var _content:DisplayObject;
		
		private var _cmpInfo:ComponentInfo;
		
		
		public function CmpWraper( cmpInfo:ComponentInfo )
		{
			super();
			
			this._cmpInfo = cmpInfo;
			
			this._content = new  _cmpInfo.context();
			
			addChild( _content );
		
		}
		
	}
}